package mirfordevoservice.system.gamethreadpool;

/**
 * Created by Heart!
 *
 * @Author ZhangChaoJian
 * @Date 2018/3/17.9:26
 * Wants More Then Try Hard More!
 */

import java.util.concurrent.ExecutorService;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy;
import java.util.concurrent.TimeUnit;

/**
 * 游戏线程池系统
 */
public class ThreadPoolManager {
    public static ExecutorService threadPoolManager = new ThreadPoolExecutor(50, 100, 600000L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>(), new DiscardOldestPolicy());
}
